package com.tedu.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;


@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class Emp {

    private Integer id;
    private String name;
    private Double salary;
    private Date birthday;
    private Date hiredate;//入职日期
    private Date dimission;//离职日期
    private Integer deptid;//部门的编号

}
